/etc/systemd/logind.conf
# update HandlePowerKey to "ignore" HandlePowerKey=ignore
sudo systemctl restart systemd-logind